<template>
	<view class="index-container">
		这是项目
	</view>
</template>

<script>
	import {
		UserService
	} from '../../request/api-package.js'
	import AuthService from '../../request/auth.service.js'
	export default {
		components: {
		},
		data() {
			return {
				userinfo: {}
			}
		},
		onShow() {
			this.getUserInfo()
			//根据角色展示权限
		},
		methods: {
			getUserInfo(type) {
				this.userinfo = AuthService.getUserinfo().info
				
			},
		},
		onPullDownRefresh() {
			this.getUserInfo("refresh")
		},
	}
</script>

<style lang="scss" scoped>
	.index-container {
		display: flex;
		flex-direction: column;
		padding: 20rpx;
		color: #3D3D3D;
		/* align-items: center; */
		/* justify-content: center; */
	}

	.u-page {
		padding: 0;
	}
</style>